#include <iostream>

struct torgle_register
{
    unsigned int read_status : 4;
    unsigned int BN: 3;
    bool error: 1;
    bool finished: 1;
};

int main(){
    using namespace std;

    torgle_register tr = {0b1101, 0b011, false, true};

    cout << "tr.read_status :" << sizeof torgle_register().read_status << " = " << tr.read_status;

    return 0;
}
